package com.ruoyi.behindComplaint.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 投诉处理对象 doc_complaint
 * 
 * @author ruoyi
 * @date 2025-08-15
 */
public class DocComplaint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 投诉表id */
    private Long complaintId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    private String userName;  // 新增：投诉人姓名
    /** 医生id */
    @Excel(name = "医生id")
    private Long doctorId;

    private String doctorName;  // 新增：医生姓名

    /** 投诉原因 */
    @Excel(name = "投诉原因")
    private String complaintReason;

    /** 投诉内容 */
    @Excel(name = "投诉内容")
    private String complaintInfo;

    /** 投诉状态 */
    @Excel(name = "投诉状态")
    private String complaintState;

    public void setComplaintId(Long complaintId) 
    {
        this.complaintId = complaintId;
    }

    public Long getComplaintId() 
    {
        return complaintId;
    }

    public String getUserName() { return userName; }
    public void setUserName(String userName) { this.userName = userName; }

    public String getDoctorName() { return doctorName; }
    public void setDoctorName(String doctorName) { this.doctorName = doctorName; }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setDoctorId(Long doctorId) 
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId() 
    {
        return doctorId;
    }

    public void setComplaintReason(String complaintReason) 
    {
        this.complaintReason = complaintReason;
    }

    public String getComplaintReason() 
    {
        return complaintReason;
    }

    public void setComplaintInfo(String complaintInfo) 
    {
        this.complaintInfo = complaintInfo;
    }

    public String getComplaintInfo() 
    {
        return complaintInfo;
    }

    public void setComplaintState(String complaintState) 
    {
        this.complaintState = complaintState;
    }

    public String getComplaintState() 
    {
        return complaintState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("complaintId", getComplaintId())
            .append("userId", getUserId())
            .append("doctorId", getDoctorId())
            .append("complaintReason", getComplaintReason())
            .append("complaintInfo", getComplaintInfo())
            .append("complaintState", getComplaintState())
            .toString();
    }
}
